package com.serverclient.jdk.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;
import com.serverclient.jdk.beanregister.BeanRegister;

/**
 * 启动JDK反射模式动态代理注解
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(BeanRegister.class)
public @interface EnableJdkServerClient {
	/**
	 * 需要注册到Spring中Bean所在的包，可以配置多个
	 */
	public String[] packages() default {"com.serverclient.jdk.service"};
}
